home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Newsletters / GEnieUnixNews / unxnl-12.91 < prev    next >
Text File  |  1992-12-27  |  29KB  |  624 lines

  1.                  
  2.           _  _  _   _  _   _
  3.          // // //| // // \//     N E W S
  4.         //_// // |// //  /\\     Vol 2, Issue 6 - December 1991
  5.       R o u n d T a b l e (tm)
  6.             
  7.    Items of interest to participants of the GEnie Unix RoundTable
  8.              
  9.       The RoundTable SysOps are:
  10.       Andy Finkenstadt....ANDY       Rick Mobley.........LRARK
  11.       Gary Smith..........GARS       Brian Riley.........DELPHI
  12.                   All Unix SysOps.....UNIXSYSOPS$
  13.    We strongly encourage you to contact any or all of us if you have -ANY-
  14.  comments or suggestions. This is -YOUR- RoundTable. We are here to make
  15.  your participation as pleasant and beneficial as possible.
  16.                 
  17.  ED: editor notes - net notes (GARS) Gary Smith
  18.  --
  19.               
  20.    Recently, for a very short time, GEnie posted a survey to determine
  21.  the level of interest in a GEnie gateway to internet.  I hope all of you
  22.  responded to this survey who could.  Whether you voted 'yes' or 'no' is
  23.  important; but more important IMHO is informed opinion from those GEnie
  24.  users most likely to understand and appreciate the implications that such
  25.  global connectivity as access to internet grants. There is also an added
  26.  burden of personal responsibilty I hope will not escape consideration by
  27.  management and user alike.
  28.                             
  29.    The Unix community is tightly bound to internet having spawned this tool
  30.  in response to a need, which seems to be the underlying thread that is the
  31.  essence of all Unix tools. Should GEnie include internet access in their
  32.  growing list of services it is the Unix RoundTable users who will be looked
  33.  toward to set the standard for conduct. 
  34.                         
  35.    The Unix RoundTable has long recognized internet as an extension of the
  36.  operating system and has from the beginning provided bulletin board areas
  37.  and library files to support this concept.  If for some reason you have not
  38.  had a need or desire to avail yourself of the mail and information access 
  39.  internet affords I invite you to examine the many tutorials available in
  40.  our library as a first step toward global communication.  I applaud GEnie
  41.  for considering this additional service and for soliciting comment.  We of
  42.  the Unix RoundTable stand ready to assist should GEnie management swing open
  43.  the gate.
  44.  ---------
  45.                        
  46.  UUCP/UseNet: (GARS) Gary Smith
  47.  -----------
  48.   If you have not explored Usenet and are considering doing so, the 
  49.   following files are HIGHLY RECOMMENDED READING.: 
  50.                             
  51.  Number: 68  Name: INTERNET.ARC
  52.  Address: J.JIMENEZ                Date: 891202
  53.  Approximate # of bytes: 32760
  54.  Number of Accesses: 197  Library: 1
  55.  Description:
  56.  I guess this is sort of a novice's intro to Internet. Interesting file.
  57.  Keywords: INTERNET,INTRODUCTION,NOVICE
  58.  ---------
  59.                            
  60.  Number: 268  Name: NEWS_GROUPS.11.89
  61.  Address: GARS                Date: 900211
  62.  Approximate # of bytes: 17640
  63.  Number of Accesses: 50  Library: 15
  64.  Description:
  65.  list of news groups available on Usenet as of Nov 1989.
  66.  Keywords: news,groups,usenet
  67.  ---------
  68.                        
  69.  Number: 921  Name: DOMAIN.INF
  70.  Address: D.KOZINN                Date: 900809
  71.  Approximate # of bytes: 7560
  72.  Number of Accesses: 77  Library: 15
  73.  Description:
  74.  This file was originally written by myself as an explaination for
  75.  some GEnie folks about how "net" mail gets from place to place. If
  76.  you already know something about the internet, uucp, and domains,
  77.  this file is probably too basic for you, but if you've ever wondered
  78.  "What kind of an address is monymsys!david@vmp.com", this may help
  79.  you to understand.
  80.  Keywords: domain,uucp,internet,pathname,mail
  81.  ---------
  82.                           
  83.  Number: 1393  Name: NEWSMAN.ZIP
  84.  Address: GARS                Date: 910112
  85.  Approximate # of bytes: 54180
  86.  Number of Accesses: 96  Library: 15
  87.  Description:
  88.  Usenet User's Manual, with access information, news
  89.  groups, reading and posting, conventions ad etiquite.
  90.  Keywords: usenet,yser,manual,access,use,reading,sending,news,groups
  91.  ---------
  92.                              
  93.  Number: 2376  Name: E-MAIL.GUIDE
  94.  Address: GARS                Date: 911115
  95.  Approximate # of bytes: 18688
  96.  Number of Accesses: 42  Library: 4
  97.  Description:
  98.  John Chew's excellent guide, tutorial and reference for using
  99.  various e-mail systems and how to gateway between them.
  100.    Excellent and recommended.
  101.  Keywords:
  102.  e-mail,internetwork,gateway,guide,internet,
  103.  CIS,MCI-Mail,Western,Union,peacenet
  104.  ---------
  105.  ---------
  106.                          
  107.  Upload Contest Winner Announced   (ANDY) Andy Finkenstadt, lead SysOp
  108.  And new upload contest begins
  109.  -------------------------------
  110.                        
  111.  The Unix RoundTable is proud to announce the winners of the
  112.  November 1991 upload contest.
  113.                                
  114.  Roy Bernstein posts his frequently updated source of information
  115.  about the upper management of technical companies: where to reach
  116.  them, who they are, what their phone numbers and fax numbers are,
  117.  and the like. This is a valuable resource during the job hunt and
  118.  for making contacts in other companies which may be doing the
  119.  same kinds of things as you do in your daily job.  Because Roy
  120.  won both the "most bytes uploaded" and the "most files uploaded"
  121.  contests, he will be awarded two free days of time in the Unix
  122.  RoundTable for his enjoyment, days to be picked at his option.
  123.                           
  124.  And the upload contest continues fresh in December.  Here's your
  125.  chance to win one or two days of totally free time in the Unix
  126.  RoundTable.  The file CONTEST.RULES contains the complete rules
  127.  and regulations for the contest; it's only 5000 bytes and is a
  128.  text file so you can look at it, download it, and print it out
  129.  for safe keeping without requiring any other archiving programs.
  130.                        
  131.  Let the best person win.
  132.  --------- 
  133.  editor's note:            
  134.  If you wish to enjoy some free access time on GEnie, all you have to
  135.  do is start sharing some of your public domain files. Non-prime time
  136.  uploads are free time themselves - so share! 
  137.          Gary 
  138.  ---------
  139.                            
  140.  EVENTS events worth noting
  141.  ------
  142.                   
  143.   Upcoming subjects for Unix RoundTable Conferences
  144.   -------------------------------------------------
  145.                       
  146.  Each week the Unix Roundtable Sysops are available in a real-time
  147.  conference on Tuesday evenings at 9:30pm Eastern Standard Time
  148.  for about an hour.  Starting at the end of December we will be
  149.  having specific subjects set aside as the topic for conversation
  150.  and transcripts will be available from the library of the
  151.  discussion. (The Unix RT Conference Transcripts can be found in
  152.  the software library on page 160 item 2.)
  153.                
  154.   Tue Dec 31:   New Years Predictions for Unix: where is it going to
  155.                 go in 1992?
  156.               
  157.   Tue Jan 07:   What's in a shell? (Bourne shell, C-shell, Korn
  158.                 Shell, Born-again Shell, etc.)
  159.               
  160.   Tue Jan 14:   General Help, Question & Answer Sessions.
  161.                 Concentration: communications to/from Unix computers.
  162.                 
  163.   Tue Jan 21:   Writing portable programs for all versions of Unix,
  164.                 and even MS-DOS.
  165.               
  166.   Tue Jan 28:   General Help, Question & Answer Session.
  167.                 Concentration: coding practices in C.
  168.             
  169.   Tue Feb 04:   Using commercial applications under Unix.
  170.                 (WordPerfect, Oracle, Lotus 1-2-3, XTree, and others)
  171.             
  172.   Tue Feb 11:   General Help, Question & Answer Sessions.
  173.                 Concentration: getting information from the world,
  174.                 Usenet and other topics.
  175.                   
  176.   Tue Feb 18:   Building and installing your first Unix System.
  177.                 Experiences in making inexpensive computers.
  178.              
  179.   Tue Feb 25:   General Help, Question & Answer Sessions.
  180.                 Concentration: installation and upgrading Unix
  181.                 systems, disk drives, and modems.
  182.  ---------
  183.                 
  184.  FAST and NASTY, DOWN  and  DIRTY:  quick  fix scripts that do something
  185.  --------------------------------
  186.                                
  187.  Automating anonymous ftp: (GARS) Gary Smith
  188.                           
  189.  The following script was snarfed off of UseNet comp.unix.shells, and gives
  190.  a nice crisp way to automate ftp even further:
  191.                        
  192.  In article <8381@bgsuvax.UUCP> kvrao@bgsuvax.UUCP (Dr K. V. Rao) writes:
  193.  >I am looking for a shell that automate the following sequence every day
  194.  >at a set time -
  195.  >ftp to a site with a fixed userid and pw
  196.  >upload a specified file from a directory 
  197.  >then quit ftp
  198.  >edit the file to delete the text and save the file with one line.
  199.  >
  200.  >Repeat the process next day and every day at a given time.
  201.  >
  202.  >Thanks for your help in this regard. Please forward your replies to
  203.  >kvrao@andy.bgsu.edu and I'll post the shell if there is sufficient
  204.  >interest.
  205.  >
  206.  >K. V. Rao 
  207.                        
  208.  Nuts, it's far too short for summarizing and far too useful..
  209.                       
  210.  This little script has been posted previously (part of FAQ, anyone?) hence
  211.  the post.
  212.                               
  213.  Usage: ftpget <file>
  214.                            
  215.  #! /bin/sh 
  216.  # ftpget -- script to automatically invoke ftp and get specified file
  217.  PATH=.:$HOME:/usr/local/bin:/usr/ucb:/bin:usr/bin export PATH
  218.  ftp -n <host> <<EOF
  219.  user anonymous <passwd>
  220.  binary
  221.  cd path
  222.  get $1
  223.  EOF
  224.  exit 0
  225.                     
  226.  -- 
  227.  G. Roderick Singleton (gerry@jts.com),
  228.  System and Network Manager, JTS Computers 
  229.  ---------
  230.                        
  231.  Peripherally Speaking:  Telebit setup (ANDY) Andy Finkenstadt 
  232.  ---------------------
  233.                          
  234.   -- Synopsis --
  235.                        
  236.  Setting up the Telebit T2500 family modems for use with UUCP,
  237.  Zmodem downloading, Xmodem uploading and downloading, and normal
  238.  usage really is doable.  Here's how.
  239.                 
  240.   -- Theory --
  241.                   
  242.  The T2500 from Telebit Corporation (1-800-TELEBIT) is an
  243.  excellent quality modem designed for fast data transfers between
  244.  Unix (and many other) computers while providing backward
  245.  compatibility for the more traditional modems using 2400 baud and
  246.  below.  In addition, the T2500 provides V.32 and V.42
  247.  capabilities which encompass some of the latest international
  248.  standards for modem communications.  V.32 is a "modem tones" 9600
  249.  baud standard, and V.42 is a link-layer error correction and
  250.  detection software (but usually implemented in the hardware of
  251.  the modem) standard.  Two newer standards have recently been
  252.  approved by the CCITT,the international telecommunications agency
  253.  in charge of such things, called V.32bis and V.42bis.  'bis'
  254.  means 'more' in latin, and indeed these protocols are more than
  255.  their former predecessors.  V.32bis encompasses "modem tones"
  256.  with a modulation rate of 14,400 baud, and V.42bis encompasses
  257.  two compression software standards including the MNP-5 (Microcom)
  258.  and LAP-M (Hayes) ones.  The new Telebit T3000 implements these
  259.  newest standards but drops one important capability: PEP mode.
  260.                
  261.   -- Telebit's PEP --
  262.                  
  263.  Years before the CCITT came out with the draft (before-approval)
  264.  standards the engineers at Telebit created a new method of
  265.  transmitting data across normal voice-quality phone lines, called
  266.  PEP mode.  PEP stands for Packetized Ensemble Protocol and was
  267.  (and still is) quite an advancement over the state of the art in
  268.  modem communications for that time.  PEP operates by using as
  269.  much of the quality part of a phone line as it can and ignoring
  270.  the unusable portions of it, whereas V.32 has just one way of
  271.  transmitting data and cuts back on transmission speed to
  272.  compensate for a poor quality phone line.  A typical PEP
  273.  connection will net about 14,500 bits per second of throughput,
  274.  compared to 9,600 bits per second with V.32 and 14,400 bits per
  275.  second with V.32bis - before compression.  Both PEP and the V.32
  276.  standards benefit from the software data compression in MNP5,
  277.  LAP-M, V.42, and V.42bis.
  278.                             
  279.  Because only Telebit modems can use PEP without a license from
  280.  Telebit Corporation (the PEP technique is patented), Telebit went
  281.  one long step farther and added internal support for various file
  282.  transfer protocols which allowed the modem to "spoof" the two
  283.  connected computers into thinking the other computer is really
  284.  fast and that it's okay to send more data to the other computer.
  285.  The Telebit modem then talks to the other Telebit modem in its
  286.  own faster method and sends the data across the phone line
  287.  without errors.  This results in orders of magnitude faster
  288.  response time and file transfers - and since time is money when
  289.  calling long distance, the modem pays for itself over the long
  290.  term.
  291.                    
  292.   -- The assumptions --
  293.                
  294.  First, I run an Interactive UNIX 386 platform with 16 megabytes
  295.  of RAM, 1,500 megabytes of disk storage, and a 24-port Equinox
  296.  Megaport serial board.  Because the Megaport handles high-speed
  297.  serial communications excellently, I have chosen to fix (or lock)
  298.  the transmission rate between the modem and the computer at
  299.  19,200 baud regardless of the actual modem connection rate.  This
  300.  requires either software (Control-S/Control-Q) flow control or
  301.  hardware (CTS/RTS) flow control; flow control is designed to
  302.  throttle back on the rush of data to match the effective
  303.  transmission speed rather than the actual speed.
  304.                   
  305.  Second, I use Chuck Forsberg's (GEnie mail: CAF) excellent serial
  306.  communications package Pro-YAM which implements a full-featured
  307.  script language (indeed, Chuck's bulletin board Telegodzilla is
  308.   written entirely in Pro-YAM's script langauge) and many file
  309.  transfer protocols including Xmodem, Ymodem, Zmodem, Kermit, CIS
  310.  Quick B and B+, and many forms of ASCII transfer.  Commands that
  311.  I demonstrate below reflect usage of Pro-YAM.
  312.                      
  313.  Third, I connect daily with GEnie via a local telephone call,
  314.  with UUNET (Falls Church, VA) twice daily via a long distance
  315.  call, and with a local BBS every month or so.
  316.                     
  317.   -- Setting up the modem --
  318.                   
  319.  The first step to gaining 100% connectivity is to establish the
  320.  settings in the non-volatile RAM of the Telebit modem.  Using a
  321.  program such as cu or tip (supplied with most versions of Unix)
  322.  or Chuck Forsberg's Pro-YAM for Unix establish a connection with
  323.  the Telebit modem.
  324.                    
  325.    $ yam
  326.    Yet Another Modem by Chuck Forsberg
  327.    Copyright 1990 Omen Technology Inc All Rights Reserved
  328.    386/ix Unix Pro-YAM Version 1.2 TurboDial 2.33 Rev 10-11-90 S/N: 75232
  329.    <<<: port ttyaX                      (my modem lives on port 24)
  330.    <<<: sp 19200                        (and talks fast)
  331.    Using ttyaX at 19200 b.p.s.
  332.    <<<: t                               (talk to the modem)
  333.                       
  334.  The first step is to reset the modem and set some parameters to
  335.  reflect our setup:
  336.    *  19200 baud fixed rate
  337.    *  RTS/CTS hardware flow control
  338.    *  Use compression during MNP connections
  339.    *  Allow non-MNP connections
  340.    *  Allow 60 seconds to connect to the remote computer
  341.    *  Make the modem be quiet except when responding to commands
  342.       (important for incoming calls)
  343.                        
  344.    <<<: t
  345.    AT&F1                                (reset to factory defaults)
  346.    OK
  347.    AT E0 V1 W0 X3 T Q4 S1=1 S7=60 S51=5 S52=2 S66=1 S68=3 S92=1 S95=2 S131=1 &W
  348.    OK
  349.                         
  350. Now everything is ready except for the unix connection
  351. information.
  352.                             
  353.   -- Setting up the Unix computer --
  354.                     
  355.  Using the sysadm command (or modifying /etc/inittab by hand)
  356.  establish a uugetty on the modem port (if you want incoming calls
  357.  answered) with a gettydefs definition for 19200 baud.  Make sure
  358.  to use the -r option otherwise you will never be able to call out
  359.  - the uugetty will have already locked the modem down.
  360.                    
  361.  Now, starting with the /usr/lib/uucp/* files, make sure the
  362.  following lines occur in the corresponding files:
  363.                         
  364.    #/usr/lib/uucp/Devices
  365.    # automatic call unit, ttyaX is the port, ",M" says ignore the modem control 
  366.      lines
  367.    # until after connection to the remote, use 19200 baud, use the tbfast 
  368.      Dialer, and
  369.    # all tbfast needs is the phone Token.
  370.      ACU ttyaX,M - 19200 tbfast \T
  371.                        
  372.    #/usr/lib/uucp/Dialers
  373.    # establish UUCP spoofing in the modem, the following line is ALL ONE LINE
  374.    tbfast =,-, "" \M\dA\pA\pA\pAT\r\c OK\r \
  375.        ATS68=0S111=30S7=60S50=255S58=0DT\T\r\c CONNECT \m\c
  376.                      
  377.  Now edit your /usr/lib/uucp/Systems file to contain the correct
  378.  entry for the remote uucp system and that's all there is to it.
  379.                       
  380.   -- In conclusion --
  381.                        
  382.  Setting up the Telebit modem takes some work, forethought, and
  383.  understanding of asynchronous communications - but it is possible
  384.  to have a heterogenous setup which works adequately with both
  385.  dial up, dial out, and computer-to-computer communications.
  386.                           
  387.  If you find that there are questions raised from this article,
  388.  please feel free to drop by the Unix RoundTable's Bulletin Board
  389.  Category 7: Communications and ask your questions in a topic
  390.  there.
  391.  ---------
  392.                    
  393.  Telebit and the 3B1 (GARS) Gary Smith
  394.  -------------------
  395.            
  396.  The 3B1 OBM (On-board modem) and a Telebit TrailBlazer+ are a notoriously
  397.  bad mix. The tone generated by the 3B1 OBM and the TB+'s phase locking
  398.  mechanism work at odds with one another. In response to help on the bug,
  399.  by M. R. Murphy came this super fix that all 3B1 users should file and
  400.  save "JUST IN CASE".
  401.                  
  402.  >[Friend has difficulty between 3B1's OBM and trailblazers]
  403.                
  404.  This C program, in addition to setting the line to tone dial (mine won't
  405.  thru "normal" channels for some reason, sets PIOCOVSPD on the modem which
  406.  permits it to talk to trailblazers.
  407.                       
  408.  #! /bin/sh
  409.  # This is a shell archive.  Remove anything before this line, then feed it
  410.  # into a shell via "sh file" or similar.  To overwrite existing files,
  411.  # type "sh file -c".
  412.  # The tool that generated this appeared in the comp.sources.unix newsgroup;
  413.  # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  414.  # Contents:  phfix.c
  415.  # Wrapped by clewis@ecicrl on Mon May  6 00:57:58 1991
  416.  PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  417.  echo If this archive is complete, you will see the following message:
  418.  echo '          "shar: End of archive 1 (of 1)."'
  419.  if test -f 'phfix.c' -a "${1}" != "-c" ; then
  420.    echo shar: Will not clobber existing file \"'phfix.c'\"
  421.  else
  422.    echo shar: Extracting \"'phfix.c'\" \(1136 characters\)
  423.    sed "s/^X//" >'phfix.c' <<'END_OF_FILE'
  424.  X/*     Sample program for bashing the OBM into tone dial and
  425.  X       setting PIOCOVSPD to permit talking to certain modems
  426.  X       (particularly telebits).
  427.  X       The documentation mentions 2.3% speed change for PIOCOVSPD.
  428.  X       That's all I know.
  429.  X
  430.  X       You are free to do whatever you wish with this code, but
  431.  X       please leave this comment in.
  432.  X
  433.  X       Chris Lewis, clewis@ecicrl.uucp, Jan 2 1991.
  434.  X */
  435.  X#include <stdio.h>
  436.  X#include <fcntl.h>
  437.  X#include <sys/phone.h>
  438.  X
  439.  Xmain(argc, argv)
  440.  Xint argc; char **argv; {
  441.  X    int f;
  442.  X    struct updata upd;
  443.  X    f = open("/dev/ph1", O_RDWR | O_NDELAY, 0);
  444.  X    if (f < 0) {
  445.  X       perror("/dev/ph1");
  446.  X       exit(1);
  447.  X    }
  448.  X    ioctl(f, PIOCGETP, &upd);  /* retrieve Phone parameters */
  449.  X    upd.c_lineparam &= ~PULSE; /* reverse the sense to set to pulse dial */
  450.  X    upd.c_lineparam |= DTMF;   /* reverse the sense to set to pulse dial */
  451.  X
  452.  X#ifdef NEVER
  453.  X    upd.c_feedback |= SPEAKERON;
  454.  X    upd.c_feedback |= LOUDSPK;
  455.  X    ioctl(f, PIOCDISC, &upd);  /* apply PIOCOVSPD for talking to some modems*/
  456.  X#endif
  457.  X
  458.  X    ioctl(f, PIOCOVSPD, &upd); /* apply PIOCOVSPD for talking to some modems,
  459.  X                                  eg: Telebits */
  460.  X    ioctl(f, PIOCSETP, &upd);  /* set phone parameters */
  461.  X}
  462.  END_OF_FILE
  463.    if test 1136 -ne `wc -c <'phfix.c'`; then
  464.      echo shar: \"'phfix.c'\" unpacked with wrong size!
  465.    fi
  466.    # end of 'phfix.c'
  467.  fi
  468.  echo shar: End of archive 1 \(of 1\).
  469.  cp /dev/null ark1isdone
  470.  MISSING=""
  471.  for I in 1 ; do
  472.      if test ! -f ark${I}isdone ; then
  473.          MISSING="${MISSING} ${I}"
  474.      fi
  475.  done
  476.  if test "${MISSING}" = "" ; then
  477.      echo You have the archive.
  478.      rm -f ark[1-9]isdone
  479.  else
  480.      echo You still must unpack the following archives:
  481.      echo "        " ${MISSING}
  482.  fi
  483.  exit 0
  484.  --
  485.  Chris Lewis, Phone: (613) 832-0541, Domain: clewis@ferret.ocunix.on.ca
  486.  UUCP: ...!cunews!latour!ecicrl!clewis; Ferret Mailing List:
  487.  ferret-request@eci386; Psroff (not Adobe Transcript) enquiries:
  488.  psroff-request@eci386 or Canada 416-832-0541.  Psroff 3.0 in c.s.u soon!
  489.                        
  490.  Here is an interesting follow-up from Chris regarding implementation of PHFIX
  491.  (the C progarm above) and comments about phfix and HDB on a 3B1...
  492.                
  493.  Dave Snyder wrote:
  494.  |>[Mike Murphy's friend's failure to connect to a locked Telebit from the OBM]
  495.  |I asked the same question about six months ago.  Anyway, the bottom line is...
  496.  |the OBM on a 3B1 will not connect to a Telebit if the modem is using locked
  497.  |interface speeds.  The only way for an OBM to connect to a Telebit is to have
  498.  |the Telebit allow auto-bauding.
  499.                   
  500.  Bruce Lilly wrote:
  501.  |This is a well-known problem with Telebit modems (at least the TB+) when
  502.  |operated with the interface speed locked. The Telebit puts out a
  503.  |non-standard signal, which causes the 3B1's built-in modem to receive
  504.  |garbage (the 3B1's OBM is rather intolerant of non-standard signals).
  505.  |Telebit refers to this bug as "bit-shaving".
  506.                  
  507.  |Your options are:
  508.  |1)    don't operate the Telebit's with interface speed locked
  509.  |2)    try to get Telebit to fix the problem (1-800-TEL-EBIT) (good luck)
  510.  |3)    trade in the Telebits for another brand of modem
  511.  |4)    use an external modem on the 3B1 which will accept the Telebit's
  512.  |    non-standard timing
  513.                 
  514.  The phfix program I just posted solved Mike's friend's problem - I just
  515.  got e-mail from him thanking me for it.  I've been using it to connect to my
  516.  feed (a Sun with a locked speed T2500) for about 5 months.The principle trick
  517.  is the PIOCOVSPD ioctl.About 6 months ago someone posted something about a OBM
  518.  utility that he was writing but hadn't finished and mentioned the PIOCOVSPD 
  519.  ioctl in passing, which is where I got the idea to try it.  Thank you whoever
  520.  you were.
  521.                   
  522.  Phfix was written without docs (so I had to guess at the invocations) to
  523.  solve the TB problem as well as for some reason the builtin software could
  524.  no longer set the modem to tone dial.  It could use some cleanup by someone
  525.  who knows the right ioctl invocations.  On my system I've installed the
  526.  invocation of phfix in the /etc/rc near the end.  It seems to work
  527.  "permanently" - ie: it only has to be invoked once on boot.
  528.                  
  529.  However, I seem to remember someone telling me that phfix will not work
  530.  with HDB UUCP on the 3b1 because HDB clobbers the setting each time it
  531.  starts.  However, I've experimented a bit, and have found that you
  532.  can invoke phfix *during* the uucico run to clear the problem.  Ie:
  533.  you start up uucico, and you notice that it's starting to alarm out -
  534.  at this point you can invoke phfix and the uucico will resync and continue
  535.  normally.  So, you might be able to kludge in a mechanism by which
  536.  phfix is invoked a fixed time after you've fired up uucico. Alternately, you
  537.  could modify phfix into a "daemon" to sit quiescent, stat'ing (or access())
  538.  the LCK* file[s] for the TB sites every 30 seconds or so.  Once it notices a
  539.  LCK file for the site[s] that has the locked speed TB, then it starts
  540.  PIOCOVSPD'ing the OBM every 10-15 seconds for 2 minutes.  That oughta fix it
  541.  without putting too much load on the machine.  Alternately, those guys
  542.  who seem to like doing binary debugging might want to work out a binary
  543.  patch for HDB.
  544.                    
  545.  I'll be installing HDB one of these days, so maybe I'll get to
  546.  kludge phfix.
  547.                 
  548.  Further, it may very well be that phfix will work "normally" even with
  549.  HDB for incoming calls - because the uucico on the receiving side is
  550.  unlikely to be as "violent" with its ioctls.
  551.                         
  552.  If anybody alters phfix.c into a HDB daemon, or simply cleans it up, please
  553.  let me know.
  554.                  
  555.  BTW: My feed has informed me that he's set his TB to lock at 1200
  556.  when it calls my 3b1.  He doesn't remember why he did that.  But it
  557.  is certainly locked at 9600 (or is it 19200 I disremember) when I call
  558.  his TB.
  559.  --
  560.  Chris Lewis, Phone: (613) 832-0541, Domain: clewis@ferret.ocunix.on.ca
  561.  UUCP: ...!cunews!latour!ecicrl!clewis; Ferret Mailing List:
  562.  ferret-request@eci386; Psroff (not Adobe Transcript) enquiries:
  563.  psroff-request@eci386 or Canada 416-832-0541.  Psroff 3.0 in c.s.u soon!
  564.  ---------            
  565.                                 
  566.  Why Modems Go Worng ..er.. wrogn: Comm humour (LRARK) Rick Mobley
  567.  --------------------------------       snarfed off Usenet
  568.                    
  569.  Traffic and the time to read it has been slow for me this month,
  570.  but I did run across a couple of interesting notes to share with
  571.  all of you. Read on:
  572.                                       
  573.  Geoff's Top Ten Causes of Lost Data in High Speed Modems:
  574.                           
  575.  (Please forgive that this is in reverse order from 'normal' top 10 lists)
  576.                      
  577.  (1) RTS/CTS handshaking not enabled in the modem.
  578.  (2) RTS/CTS handshaking not enabled in the terminal program.
  579.  (3) XON/XOFF handshaking not disabled in the modem.
  580.  (4) XON/XOFF handshaking not disabled in the terminal program.
  581.  (5) Cable does not support pins 4 and 5.
  582.                   
  583.  (These next 3 are apply to PC-compatible systems only)
  584.                   
  585.  (6) Swapping a 286 between real & protected mode causes lost IRQs.
  586.  (7) Perstor ARLL controllers shut off IRQs during long transfers.
  587.  (8) DOS 'multitasking' swaps comm program's serial driver out of memory
  588.      (and can't put it back before another byte arrives).
  589.                    
  590.  (9) Slow CPU or heavily loaded system can't handle incoming data rate.
  591.                  
  592.   ... and, of course, the ultimate excuse:
  593.                      
  594.  (10) God has decided that those computers talk just too damned fast.
  595.                           
  596.  --  
  597.  Geoffrey Welsh                  606-66 Mooregate Crescent
  598.  Operator, Izot's Swamp BBS      Kitchener, Ontario, Canada N2M 5E6
  599.  Data: (519) 742-8939            Voice: (519) 741-9553
  600.  root@zswamp.uucp, or [xenitec.on.ca|m2xenix.psg.com|nstar.rn.com]!zswamp!root
  601.  A standard is a device by which we cause many things to fail in the same way.
  602.  ---------             
  603.  ---------------    
  604.    REMINDER - This newsletter is being sent to you 'by request'. If you do
  605.  not wish to keep receiving it, e-mail a stop notice to GARS. On the other
  606.  hand, we would very much appreciate it if you would pass the word that we
  607.  do distribute this item near the tenth (10th) of the month of issue to any-
  608.  one on GEnie who requests it, and will gladly add any name that is requested
  609.  via the same route... e-mail to GARS.
  610.    P L E A S E  also remember contributions are most welcome. Please e-mail
  611.  items and/or suggestions to GARS.
  612.                          
  613.  (EOF)
  614.                         
  615.   Trademark and Copyright notices:
  616.   Unix is a Trademark of UNIX System Laboratories, Inc.; GEnie, LiveWire, and
  617.   RoundTable are Trademarks of General Electric Information Services  Company;
  618.   Xenix and ms-dos are Trademarks of  Microsoft  Corporation;
  619.                      
  620.  The contents of this newsletter are copyright (c) 1991 and may be copied whole
  621.  or in part only if  original  credit is included. The GEnie UNIX RoundTable is
  622.  not affiliated with AT&T or UNIX System Laboratories, Inc.
  623.  
  624.